package com.service;

import com.domain.User;
import com.mapper.TestMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class TestService {

    @Autowired
    TestMapper testMapper;

    public User getById(int id) {
        return testMapper.getById(id);
    }
}
